home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
qwhite10.arc
/
SER_PRN.TEC
< prev
next >
Wrap
Text File
|
1990-08-16
|
2KB
|
32 lines
ID:SP Serial Port Printing in DESQview
Quarterdeck Technical Note
by Stan Young
If you are going to initialize a serial port in a DESQview
window, you will have set up the program information for that
window so that the option "Uses serial ports" is either "Y" or
the specific port being used. Otherwise the COM port cannot be
accessed due to the port protection mechanism of DESQview.
Trying to intialize a COM port from a window which is "Swappable"
will result in a DOS message: "Invalid parameter 'COM?' since DOS
will not see the port as available.
Set up in this fashion, a program running in DESQview can
directly access a serial port for printing. However, a better
solution is to initialize the port with MODE and redirect an LPT
port to the serial port before running DESQview. When you have
redirected an LPT port to the serial port before running
DESQview, you can simply print to the port without regard to
how the "Uses serial ports" parameter is set, since the actual
redirection of print is handled outside of DESQview.
If you already have a real parallel printer, simply select the
next logical LPT port to redirect. Remember that a printer port
can be addressed as a logical device by DOS - that is, you do not
have to actually have a port set up as LPT2 in order to direct it
to COM1. The logical parallel printer ports supported by DOS are
LPT1, LPT2 and LPT3.
Copyright (C) 1990 by Quarterdeck Office Systems
* * * E N D O F F I L E * * *